/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

/**
 *
 * @author VietLH
 */
public class DoctorDetails {

    private int dID;
    private String dFName;
    private String dLName;
    private String dAddress;
    private String dPhone;
    private String password;
    private String dSpecialization;
    private String dUsername;
    private boolean dGender;

    public DoctorDetails() {
    }

    @Override
    public String toString() {
        if (this.dFName != null && this.dLName != null) {
            return (this.dFName + " " + this.dLName);
        } else {
            return "-----";
        }
    }

    public DoctorDetails(int dID, String dFName, String dLName, String dAddress, String dPhone, String password, String dSpecialization, String dUsername, boolean dGender) {
        this.dID = dID;
        this.dFName = dFName;
        this.dLName = dLName;
        this.dAddress = dAddress;
        this.dPhone = dPhone;
        this.password = password;
        this.dSpecialization = dSpecialization;
        this.dUsername = dUsername;
        this.dGender = dGender;
    }

    public boolean isdGender() {
        return dGender;
    }

    public void setdGender(boolean dGender) {
        this.dGender = dGender;
    }

    public String getdAddress() {
        return dAddress;
    }

    public void setdAddress(String dAddress) {
        this.dAddress = dAddress;
    }

    public String getdFName() {
        return dFName;
    }

    public void setdFName(String dFName) {
        this.dFName = dFName;
    }

    public int getdID() {
        return dID;
    }

    public void setdID(int dID) {
        this.dID = dID;
    }

    public String getdLName() {
        return dLName;
    }

    public void setdLName(String dLName) {
        this.dLName = dLName;
    }

    public String getdPhone() {
        return dPhone;
    }

    public void setdPhone(String dPhone) {
        this.dPhone = dPhone;
    }

    public String getdSpecialization() {
        return dSpecialization;
    }

    public void setdSpecialization(String dSpecialization) {
        this.dSpecialization = dSpecialization;
    }

    public String getdUsername() {
        return dUsername;
    }

    public void setdUsername(String dUsername) {
        this.dUsername = dUsername;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
